package dao

import (
	"gorm.io/driver/sqlite"
	"gorm.io/gorm"
)

var (
	DB *gorm.DB
)

func InitSqlite() (err error) {
	DB, err = gorm.Open(sqlite.Open("./data/sqlite.db"), &gorm.Config{})
    return err
}


